//
// Created by Tony on 2024/7/3.
//

#ifndef PARSER_CLASS_BODY_H
#define PARSER_CLASS_BODY_H

#include "../../AstList.h"

namespace Parser {

class ClassBody final : public AstList {
    string nodeName;

public:
    explicit ClassBody(const vector<shared_ptr<Ast>>& children) : AstList(children) {
        nodeName = __func__;
    }

    int32_t accept(Compiler::Visitor* visitor) override;
};

} // namespace Parser

#endif // PARSER_CLASS_BODY_H
